/* A01-maincss.css */
html,body {
    height:100%;
	max-width: 100%;
    overflow-x: hidden;
}
.loader {
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 40px;
  height: 40px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.bodycolor {
    margin:0px; padding-top: 0px;
    background: #cceeff; /* For browsers that do not support gradients */    
    background: -webkit-linear-gradient(left, #cceeff , #ffffb3); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(right, #cceeff , #ffffb3); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(right, #cceeff , #ffffb3); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to right, #cceeff , #ffffb3); /* Standard syntax (must be last) */
}

/* now if it is a mobile phone background: url(house2019c.jpg) no-repeat center center fixed; */
@media only screen and (max-width: 768px) {
       .bodycolor { 
   background: white;}

}

.fullbody {

background: url(kr-ararat-1985.jpg) no-repeat fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size:cover;
} 
.krbikefullbody {
background: url(karlonbike.jpg) no-repeat fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size:cover;
} 
.qlinefullbody {
background: url(qline-house.jpg) no-repeat fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size:cover;
}
@media only screen and (max-width: 768px){
.fullbody {
background:none;
background-color:dimgrey;
}
#introtosite {display:none;}
#entersite2 {display:none;}	}
/* div for hiding php processing a form */
.hidephp {
position: absolute;
top:1px;
left:1px;
height:1px;
}
#form2{opacity: 0.7}
p {padding-left:5px; padding-right:5px;}
 /* main container */
 .mycontainer {width:100%; padding:10px; }
 #bkyellow {width:100%; padding:10px; display: block; }

 /* below does not seem to work */
/*default 100% */

/* cols for desktop



@media only screen and (max-width: 768px;) {
[class*="col-"] {width:95%; display: block;  padding:10px !important; margin-top: 5px !important; background-color:linen !important; }
} */
.col-1 {width:100%;}
.col-athird {width:33%; display:inline-block; float:left; padding:15px;}
.col-3q {width:65%; display:inline-block; float:left; padding:15px;}
.col-2r {width:45%; display:inline-block; padding:10px;}
.col-2half {width:50%; display:inline-block; padding:10px;}
.col-2quater{width:25%; display:inline-block;}
.col-v-long {width:24%; display:inline-block;}
.col-1c {
width:50%; 
 background-color:pink; 
 position:relative;
 display:inline-block;
 margin-bottom:10px;
  text-align:center;
  margin-left:8%;
  margin-top: 10px;}
 
.col-last {width:100%; margin-top:100px;}
/* dontshowme is for the social media div in the mobile view */
#dontshowme{display:none;}
@media only screen and (max-width: 768px) {
.col-1c {width:100%;   text-align:left; margin-left:0px; margin-top: 2px;}
.col-athird{width:100%; text-align:left; margin-left:0px; margin-top: 2px}
.col-3q{width:100%; margin:auto; padding:15px;}
.col-2quater{width: 100%;}
.col-v-long {width:100%; margin-left:0px !important; }
.col-2half {position:relative !important; padding:10px; margin-top:5px !important; width: 100% !important; margin: auto !important; color:blue !important;}
.col-last {width:100%; margin:0px !important;}#bkyellow {width:95% !important; display: block;  margin:0px !important; padding:10px !important;}
.mycontainer {width:100% !important;  margin:0px !important; position:absolute; left:0px; right:0px; display:block;}
#bkyellow {width:100% !important;  margin-left:auto !important;  margin-right:auto !important; margin-top:5px !important;padding:10px !important; }
.col-2r {position:relative !important; width: 100% !important; margin: auto !important; padding:5px; margin-bottom:10px !important;}
/* margins for a third when in mobile view */

}
	#dontshowme{display:block; float:right; padding:10px 0px 0px 10px;}
	
	
#entersite {
font-style:italic; top:10px; left:100px; position:fixed; display:none;}

.moveheight {top:74px; position:absolute;}
/* for lsuper large screens */
@media only screen and (min-width: 1400px) {

.img-size {width:310px; height:350px; margin-top:40px;}
.mobsocial{display:none !important;}}
/* image size for desktops */
@media only screen and (min-width: 1100px) and (max-width: 1600px){

.img-size {width:320px; height:350px; margin-top:50px;}
.mobsocial{display:none !important;}}

/* image size for laptops */
	@media only screen and (max-height: 800px)  and (min-width: 1024px) {

.img-size {width:260px; height:290px; margin-top:50px;}
.mobsocial{display:none !important;}}

/* for ipad */
/*@media only screen and (max-height: 768px){*/
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px)  {

.img-size {width:210px; height:250px; margin-top:20px; }
.mobsocial{display:none !important;}}

/* Large Screens A Bydder screen 
@media only screen and (min-device-width : 1530) and (max-device-height : 960)  {}*/
/* mycontanier height and photo size */
/* height for mob potrate */
 @media only screen and (max-width: 380px){
.moveheight {top:56px; position:absolute;}
.img-size {width:210px; height:250px;}
.mobsocial {display:block !important;}}
/* height for mobiles in landscape */
@media only screen and (min-width: 380px) and (max-width: 768px){
.moveheight {top:56px; position:absolute;}
.img-size {width:210px; height:250px;}
.mobsocial {display:block !important;}}/* only show the social box if mobile devices */


@media only screen and (min-width: 768px){
.navstuffmob{display:none;}}

/* Div for mobile menu icon */
.mob_menu_button {
	width:40px;
	height:30px;
	border-radius:10px;
	background-color:dimgrey;
	color:white;
}
/* Modal Box */
.modalDialog {
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    opacity:0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
}
.modalDialog:target {
    opacity:1;
    pointer-events: auto;
}
.modalDialog > div {
    width: 700px;
    position: relative;
    margin: 10% auto;
    padding: 5px 20px 13px 20px;
    border-radius: 10px;
    background: #fff;
    background: -moz-linear-gradient(#fff, #999);
    background: -webkit-linear-gradient(#fff, #999);
    background: -o-linear-gradient(#fff, #999);
}
/* opnfrm is for the words to click to open form - the reason for a class is that it has 2 places */
.opnfrm {visibility: visible;}

/* display only if desktop 

.mobshow{display:none;}
.showdsk{display:inline-block;}
@media only screen and (max-width: 768px) {
    .mobshow { 
   display: block;}
   .showdsk{display:none;}
   }
   /* Frame for thumbs gallery */
   .caroselframe {
position: absolute;
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 98%;
  height: 84%;
      box-shadow: 5px 5px 5px #999;
}
@media only screen and (max-width: 768px){
.caroselframe {
position: absolute;
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: red;
  border-radius: 3px;
}}
 /* thinner frame for laptops and screens with height  < 810px - thumbs gallery */
@media only screen and (max-height: 810px) and (min-width: 1200px){
  .caroselframe {
position: absolute;
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 80%;
  height: 84%;
      box-shadow: 5px 5px 5px #999;
	}}
 
   /* up arrow to got top */
   #gotop {
	color: blue;
	font-size: 30px;
	bottom: 2%;
	right:2%;
	opacity: 0.7;
	position: fixed;
	z-index: 7001;
	display: none;
	cursor: pointer;
	
}
#gotop:hover {opacity:1;}
@media only screen and (max-width: 768px) {
#gotop {
	color: blue;
	font-size: 30px;
	bottom: 2%;
	right:5%;
	opacity: 0.5;
	position: fixed;
	z-index: 7001;
	display: none;
	cursor: pointer;
}}

/* the box that holds the phone details and email */
.ourdetails {
	border-style: solid;
	border-color: green; 
	border-radius: 10px;
	padding: 10px;
	
	/* background: url(backg3.jpg) no-repeat center center; */
		
	
}
/* change background size for mobile */
@media only screen and (max-width: 768px){
.ourdetails {
	border-style: solid;
	border-color: green; 
	border-radius: 10px;
	padding: 10px;
	 /* background: url(backg4.jpg) no-repeat center center; */
		
}}


/* details box - desktop  styles*/
.detstyles10 {
	width:10%;
	padding: 10px 5px 10px 20px;
	font-size:30px;
	font-weight: bold;
		}
	.detstyles90 {
	width:90%;
	padding: 10px 5px 10px 50px;
	font-size:30px;
	font-weight: bold;
			}
			
		h1.mobfnt {font-size:220%; color:white; line-height:50%; }
		h2.mobfnt {font-size:220%; color:red; line-height:100%; text-align:center; }
		h3.mobfnt {padding:50px; line-height:120%;}
		.emailfnt {font-size:20px; padding: 10px 5px 10px 50px;}
		/* end fonts and sizes for Desk Top */
@media only screen and (max-width: 768px){

h1.mobfnt  {font-size:20px; color: white; line-height:120%;}
h2.mobfnt {font-size:25px; color:red; line-height:120%; font-weight:bold;text-align:center; }
h3.mobfnt {font-size: 16px; padding:0px; line-height:130%; color:black}


.emailfnt {font-size:12px; padding:10px 5px 10px 10px}
.detstyles10 {
	width:10%;
	padding: 10px;
	font-size:25px;
	font-weight: bold;
	}
	.detstyles90 {
	width:90%;
	font-size:20px;
	font-weight: bold;
	padding:10px 5px 10px 10px;
		}
}

/* class for width of our services in deskto view */
.col-3.clasp {
	padding-top: 0px;
	width: 19%;
	height: auto;
	background-color:white;
	display: inline-block;
	margin: 0px 5px 5px 5px;
}


/* css for email contact form */

.fancyform {
    width: 90%;
    font-size: 15px;
   padding: 5px;
   margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    }

.fancyform:hover {
background-color: #efedea;

}
.astrix {
    color: red;
    font-size: 18px;
    font-weight: bold;
    display: inline-block;
    
}

 /* Font Family styles */
 p.fntfly {
	 font-family: arial black;
 }
 .athird-marg {margin: 0px 0px 0px 10px;}
.marg-in {
	margin:0px 0px 25px 15px;
	padding:10px 0px 15px 20px;
}
.pad-ing{padding:10px 0px 10px 12px;}
/* class marg-in is for the margin in the phone and email box */
@media only screen and (max-width: 780px){
.marg-in {
	margin:0px;
}
.athird-marg {margin: 10px 0px 0px 0px;}
.pad-ing{padding:0px;}}
/* the box that holds the phones etc the text is in tables to line them up neatly */
.mobtblesty {
width:75px;
font-size:40px;
padding-left: 30px;
}
.tblesty {
width:125px;
font-size:40px;
padding-left: 30px;
}
/* put the phones n all box here */
/* for telephones and stuff for mobile phones */
@media screen and (min-width:1024px){
#rdetmob {
	display: none;
}}

#rdetmob {
	border: 1px solid red; 
	border-radius: 5px; 
	padding-top: 5px; 
	width:100%; 
	height: auto;
}
/* open this div for desktops this is for our details box */
.rdetdsk{
	border: 1px solid blue; 
	border-radius: 5px; 
	padding-top: 5px; 
	width:100%; 
	height: auto;
	display: block
}

/* News paper look */
.newspaper {
    -webkit-column-count: 3; /* Chrome, Safari, Opera */
    -moz-column-count: 3; /* Firefox */
    column-count: 3;
    -webkit-column-gap: 40px; /* Chrome, Safari, Opera */
    -moz-column-gap: 40px; /* Firefox */
    column-gap: 40px;
    -webkit-column-rule-style: solid; /* Chrome, Safari, Opera */
    -moz-column-rule-style: solid; /* Firefox */
    column-rule-style: solid;
    -webkit-column-rule-width: 1px; /* Chrome, Safari, Opera */
    -moz-column-rule-width: 1px; /* Firefox */
    column-rule-width: 1px;
	background-color:white;
	padding:10px;
}
@media screen and (max-width:768px){
.newspaper {
 -webkit-column-count: 1; /* Chrome, Safari, Opera */
    -moz-column-count: 1; /* Firefox */
    column-count: 1;
	padding:0px;
	column-gap: 0px;}}
	
	/* fancyclose is the positioning of the div and the hover style */
  .fancyclose2 {
cursor: pointer;
 top:-14px; 
 right:-12px; 
 position: absolute; 
 margin:left:5px; 
 opacity:1;

 
}
.fancyclose2:hover {
		opacity:0.7;
}


.fancyclosebox {
	
cursor: pointer;
position: absolute;
 height:35px;
 width:35px;
 right:10px;
 top:10px;
 }
 
 
/* the size of the fancyclose image below is for mobile devices */
.imagcls {
	width: 25px;
	height: 25px;
opacity: 1 !important;
}

/* for desk top */
@media screen and (min-width:1024px){
 .imagcls {
    width: 35px;
	height: 35px;
	opacity: 1 !important;
}
.fancyclosebox {
cursor: pointer;
position: absolute;
 height:40px;
 width:40px;
 right:1%;
 top:8%;
 }}
/* The Modal (background) the reason the background changes is that it is 100% W & H */
.mainmodal1 {
        position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
   padding-top: 2%;
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
   margin: auto;
  padding: 5px;
    border: 1px solid #888;
    width: 55%;/* was 85% */
       margin-top: 2%;
       height: 95%;
       background-color: black;
	}
/* end-modal */


											/*css for responsive for the gallery box height*/
											
/* For mobile phones: design for mobiole first as default*/

@media only screen and (min-width: 1000px) {
	.boxsize1{width:100%; height:90%;}
	
	.modal-content {width: 95%;}
#introtosite {bottom:100px; left:50px;text-align:center; position:absolute;}
}
/*for desk tops */
@media only screen and (max-width: 1300px) and (min-height: 820px){
	.boxsize1{width:100%; height:90%;}
	
	.modal-content {width: 85%;}
	#introtosite {bottom:100px; left:50px;text-align:center; position:absolute;} /* adjust the "b box wording away from the light */
}
/*for lap tops */
@media only screen and (max-height: 820px){
	.boxsize1{width:100%; height:90%;}
	
	.modal-content {width: 85%;}
	#introtosite {bottom:100px; left:50px;text-align:center; position:absolute;} /* adjust the "b box wording away from the light */
}

/*forlarge wide screens */
@media only screen and (min-width: 1600px) and (min-height: 1050px){
	.boxsize1{width:100%; height:70%;}
	
	.modal-content {width: 85%;}
	#introtosite {bottom:100px; left:50px;text-align:center; position:absolute;} /* adjust the "b box wording away from the light */
}
/* Nexus 6p ----------- this also applies to new dell lap top*/
@media only screen and (min-device-width: 412px) and (max-device-height: 736px){
.boxsize1{width:100%; height:90%;}

.modal-content {width: 95%;}
.mainmodal1 { padding-top: 70px;}  /* Location of the box */
#introtosite {bottom:50px; left:50px;text-align:center; position:absolute;} /* adjust the "b box wording away from the light */
}

/* all mobiles landscape */
@media only screen and (max-device-height: 430px){
	.boxsize1{width:100%; height:90%;}
	
	.mainmodal1 { padding-top: 75px;}  /* Location of the box */
	.modal-content {width: 95%;}
	#introtosite {top: 50px; left:50px;text-align:center; position:absolute;}
}

/* Galaxy and Iphones */
@media only screen and (min-device-width: 320px) and (max-device-height: 680px){
.boxsize1{width:100%; height:90%;}

.mainmodal1 { padding-top: 75px;}  /* Location of the box */
.modal-content {width: 95%;}
#introtosite {top: 50px; left:50px;text-align:center; position:absolute;}
}


/* Style for an alternative button so the fuckwits don't hijack it */
.altbtn {border-radius:5px; padding:5px; cursor:pointer; color:white; 
display:inline-block; background-color:red; box-shadow: 5px 5px 5px black; margin:20px;}

/* class for dates and locations in Tour of Duty in Karls website */
.dateclass {color:red; font-weight:bold; font-style:italic;}

/* below class for fising the 2 at work and at home boxed to same height but auto when in mobile */
.fixbox {line-height:160%; height:200px;}
@media screen and (max-width:768px){
.fixbox {line-height:160%; height:auto;}}
}


/* END A01-maincss.css */


